package cn.bdqn.services.dept.mapper;


import java.util.List;

import cn.bdqn.model.pojo.Motortype;
import cn.bdqn.model.pojo.MotortypeExample;
import org.apache.ibatis.annotations.Param;

public interface MotortypeMapper {
    long countByExample(MotortypeExample example);

    int deleteByExample(MotortypeExample example);

    int deleteByPrimaryKey(Integer motorTypeNumber);

    int insert(Motortype record);

    int insertSelective(Motortype record);

    List<Motortype> selectByExample(MotortypeExample example);

    Motortype selectByPrimaryKey(Integer motorTypeNumber);

    int updateByExampleSelective(@Param("record") Motortype record, @Param("example") MotortypeExample example);

    int updateByExample(@Param("record") Motortype record, @Param("example") MotortypeExample example);

    int updateByPrimaryKeySelective(Motortype record);

    int updateByPrimaryKey(Motortype record);
}